Robotics 1.0 Lesson Plan
Lesson 1: Hello Circuit Python.
1 - (Time : 1 Hour 30 minutes, Each group has a maximum of 2 children).
Computer with Python installed
Mu Editor (recommended) or any code editor
Basic computer operation knowledge.
Setting up the CPX for Circuit Python
Install the MU Editor(You can use any Editor like Visual studio,Notepad++,etc But Mu Editor is the recommended one)
Click here to download and install the MU Editor.Download latest firmware for CPX and install in board
Click here to download the UF2 package.Print Statement
Introduction of Variables in python -
String Variables
Integer and Float Variables - Follow these instructions to practice working with numeric variables.
Updating a Variable - Follow these steps to experiment with updating variables in Python.
Can variables be given any name? Ask the students to find out the rules on naming variables. Ask them to name a variable as 'continue' and see what happens in code
Ask the students why they think indentation matters in Python whereas in html/css or javascript, it doesn't matter.
x = 5